package com.edu.internship.busi.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * [一句话描述该类的功能]
 *
 * @author : [Acer]
 * @version : [v1.0]
 * @createTime : [2022/8/2 9:23]
 */
@Data
@Accessors(chain = true)
@ApiModel
@AllArgsConstructor
@NoArgsConstructor
public class CardListDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private String id;
    @ApiModelProperty("卡号")
    private String cardNo;
    @ApiModelProperty("学生编号")
    private String studentId;
    @ApiModelProperty("消费金额")
    private BigDecimal cost;
    @ApiModelProperty("卡余额")
    private BigDecimal remainder;
    @ApiModelProperty("消费时间")
    private LocalDateTime costTime;
    @ApiModelProperty("入库时间")
    private LocalDateTime inTime;
    @ApiModelProperty("消费地点")
    private String type;
}
